#define _CRT_SECURE_NO_WARNINGS 1
#include<stdlib.h>



int main()
{
	int* p = (int*)malloc(10 * sizeof(int));
	
	perror("main");
	
	int i = 0;
	for (i = 0; i < 10; i++)
	{
	}
	free(p);
	p = NULL;

	return 0;
}